package com.xinqi.modules.course.clazz.dto.req;

import com.xinqi.common.base.annotations.ApiQueryParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级分组表-查询参数
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@ApiQueryParam
public class ClassGroupQueryDTO implements Serializable {
    /**
     * ID
     */
    private Long id;

    /**
     * 班级id
     */
    @NotNull(message = "班级id不能为空")
    private Long classId;

    /**
     * 父id，查询大组pid=0
     */
    private Long pid;

    /**
     * 口令
     */
    private String sign;


    /**
     * FREEDOM("FREEDOM", "学生自由分组"),
     * SPECIFIED("SPECIFIED", "老师指定分组"),
     * RANDOM("RANDOM", "系统随机分组");
     **/
    private String type;

}
